let count = 10
// let count: number = 10
let songName = '痴心绝对'
let position = {
  x: 0,
  y: 0
}

// let position: {x:number, y:number} = {
//     x: 0, y: 0
// }

function add(x, y) {
  return x + y
}
// function add(x:number, y: number): nubmer {
//     return x + y
// }

function changeDirection(direction) {
  console.log(direction)
}

const fomartPoint = point => {
  console.log('当前坐标：', point)
}

export { count, songName, position, add, changeDirection, fomartPoint }
